body {
	font-family: 'Signika Negative', 'Myriad Pro', sans-serif;
	font-weight: 300;
	background-color: #FFF;
	margin: 0;
	padding: 0;
}
header {
	display: block;
	margin: 0;
	padding-left: 20px;
	padding-right: 0.75em;
	padding-top: 0.75em;
	height: 51px;
	background-color: #F0F0F0;
	box-shadow: 0 0 4px rgba(100, 100, 100, 0.2);
	border-bottom: 1px solid rgba(150, 150, 150, 0.3);
	background-clip: padding-box;
	position: fixed;
	top: 0;
	width: 100%;
	box-sizing: border-box;
	z-index: 10;
}
div.pageHead {
	margin: 0;
	padding-left: 20px;
	padding-right: 0.75em;
	padding-top: 0.75em;
	height: 56px;
	background-color: #FFF;
	box-shadow: 4px 0 4px rgba(100, 100, 100, 0.2), inset 4px 0 4px -4px rgba(100, 100, 100, 0.2);
	border-bottom: 1px solid rgba(150, 150, 150, 0.3);
	background-clip: padding-box;
	position: fixed;
	top: 50px;
	left: 200px;
	width: 100%;
	box-sizing: border-box;
	z-index: 5;
}
div.pageHead > h3 {
	margin-top: 0;
}
div.pageHead > input[type=submit], div.pageHead > input[type=button] {
	position: fixed;
	right: 20px;
	top: 58px;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
}
h3 {
	font-size: 1.65em;
	margin-bottom: 0.25em;
}
h4 {
	font-size: 1.25em;
	margin-top: 0.25em;
	margin-bottom: 0;
}
header > a.title:link, header > a.title:visited {
	text-decoration: none;
	color: #444;
	font-size: 1.5em;
	font-weight: 600;
}
header > div.user {
	float: right;
	color: #444;
	margin-top: 4px;
}
@media screen and (min-width: 866px) {
	nav {
		display: block;
		background-color: transparent; /*#F0F0F0;*/
		position: fixed;
		width: 200px;
		height: 100%;
		top: 50px;
		box-sizing: border-box;
		padding: 12px;
		padding-left: 0;
		font-size: 1.2em;
		font-weight: 400;
		box-shadow: 0 0 4px rgba(100, 100, 100, 0.2);
		border-right: 1px solid #E8E8E8;
	}
}
nav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
nav > ul a, nav > ul a:visited {
	display: block;
	padding: 8px;
	text-decoration: none;
	color: #222;
	border-left: 12px solid #FFF;
}
nav > ul a:hover {
	background-color: #F5F5F5;
}
nav > ul > li a.current {
	background-color: #FAFAFA;
}
div.content {
	margin-top: 106px;
	margin-left: 200px;
	text-align: justify;
	padding: 20px;
}
div.content.noHead {
	margin-top: 50px;
}
.sidebar {
	width: 270px;
	display: block;
	background-color: #FFF; /*#F0F0F0;*/
	position: fixed;
	height: 100%;
	top: 100px;
	box-sizing: border-box;
	padding: 12px;
	box-shadow: 0 0 4px rgba(100, 100, 100, 0.2);
	border-right: 1px solid #E8E8E8;
	left: 200px;
}
.ui-icon {
	margin-top: 2px;
	margin-left: 3px;
}
.ui-widget-header a{
	color: gray;
}
button.ui-multiselect{
	margin-bottom:8px;
}

div.content.withSidebar {
	margin-left: 472px;
}
div.pageHead.withSidebar {
	box-shadow: 4px 0 4px rgba(100, 100, 100, 0.2);
}
@media screen and (max-width: 865px) {
	div.content {
		margin-left: 0;
		margin-top: 50px;
	}
	div.content.withSidebar {
		margin-left: 0;
		margin-top: 150px;
	}
	div.mealEntries {
		position: relative;
		top: -42px;
		left: 260px;
		max-width: 472px;
	}
	div.addMeal {
		display: inline-block;
	}
	div.mealContainer {
		height: 50px;
	}
	div.pageHead > input[type=submit], div.pageHead > input[type=button] {
		top: 6px;
		right: 4px;
		box-shadow: none;
		background: #DDD;
		border: 1px solid rgba(0, 0, 0, 0.05);
		border-radius: 5px;
		height: 40px;
	}
	div.pageHead > input[type=submit]:hover, div.pageHead > input[type=button]:hover {
		background: #E4E4E4;
	}
	div.pageHead > input[type=submit]:active, div.pageHead > input[type=button]:active {
		background: #D4D4D4;
	}
	.sidebar {
		left: 0;
		top: 51px;
		width: 100%;
		height: 100px;
		border-right: none;
		border-bottom: 1px solid #E8E8E8;
		position: absolute;
		overflow: auto;
	}
	nav {
		display: none;
	}
	div.pageHead {
		left: 0;
		top: 0;
		text-align: center;
		padding-right: 0.75em;
		padding-top: 0.75em;
		height: 51px;
		background-color: #F0F0F0;
		box-shadow: 0 0 4px rgba(100, 100, 100, 0.2);
		border-bottom: 1px solid rgba(150, 150, 150, 0.3);
		background-clip: padding-box;
	}
	header {
		text-align: center;
	}
	header.withHead {
		border: 0;
		background: transparent;
		box-shadow: none;
		width: 256px;
		text-align: left;
	}
	header > div.user {
		display: none;
	}
	header.withHead > a.title {
		border-radius: 5px;
		border: 1px solid rgba(0, 0, 0, 0.05);
		padding: 4px;
		padding-right: 8px;
		background: #DDD;
		position: absolute;
		z-index: 2;
		top: 6px;
	}
	header.withHead > a.title:before {
		position: absolute;
		content: ' ';
		left: -13px;
		top: 4px;
		height: 29px;
		width: 29px;
		z-index: -1;
		-webkit-transform: rotate(-45deg) skew(-10deg, -10deg);
		border-top-right-radius: 11px;
		border-top-left-radius: 0;
		border-bottom-right-radius: 0;
		border-bottom-left-radius: 10px;
		background: #DDD;
		border-left: 1.5px solid rgba(0,0,0,0.1);
		border-top: 1.5px solid rgba(0,0,0,0.1);
	}
	header.withHead > a.title:hover, header > a.title:hover:before {
		background: #E4E4E4;
	}
	header.withHead > a.title:active, header > a.title:active:before {
		background: #D4D4D4;
	}

}
div.idcard, div.idcard * {
	-webkit-transition-duration: 0.2s;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-property: width, margin, padding;
	transition-duration: 0.2s;
	transition-timing-function: ease-out;
	transition-property: width, margin, padding;
}
div.idcard, div.lunchcard, div.logcard {
	display: inline-block;
	border: 1px #CCC solid;
	background-color: #EEE;
	box-shadow: 0 0 6px rgba(0, 0, 0, .2);
	padding: 8px;
	margin: 6px;
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	cursor: default;
	vertical-align: top;
}
#log-list {
	list-style: none outside none;
	margin: 0;
	border-bottom: 1px #DDD solid;
	padding: 0;
}
ul#log-list > li {
	display: block;
	border: 1px #DDD solid;
	border-bottom: 0;
	padding: 8px;
	margin: 0;
	user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	cursor: default;
	vertical-align: top;
}
ul#log-list > li:nth-child(odd) {
	background-color: #F4F4F4;
}
ul#log-list > li:nth-child(odd):hover {
	background-color: #F6F6F6;
}
ul#log-list > li:nth-child(even) {
	background-color: #F8F8F8;
}
ul#log-list > li:nth-child(even):hover {
	background-color: #FAFAFA;
}
ul#log-list > li > img.picture {
	display: inline-block;
	margin-right: 12px;
	width: 32px;
	height: auto;
	vertical-align: middle;
}
img.icon {
	display: inline-block;
	float: right;
	margin-right: 12px;
	width: 32px;
	height: auto;
}
div.idcard {
	width: 230px;
}
div.idcard:hover, div.idcard.dragged {
	background-color: #F8F8F8
}
div.idcard.dragged {
	box-shadow: 4px 4px 10px rgba(0, 0, 0, .15);
}
div.idcard > img.picture, div.logcard > img.picture, div.lunchcard > img.picture {
	display: inline;
	float: left;
	margin-right: 12px;
	width: 70px;
	height: 98px;
}

div.idcard > span.name, div.logcard > span.name, div.lunchcard > span.name {
	display: block;
	font-size: 1.2em;
	font-weight: 400;
}
div.logcard {
	width: 300px;
}
div.logcard > span.name {
	margin-top: 0;
}
div.logcard > img.picture {
	margin: 5px;
}
div.idcard > span.age {
	color: #333;
	font-style: italic;
	font-size: 0.8em;
	position: relative;
	top: -1px;
	display: block;
}
div.idcard > span.lastCheckin {
	display: block;
	font-size: 0.7em;
	color: #666;
}
@media screen and (max-width: 1400px) {
	div.idcard {
		padding: 6px;
		margin: 4px;
		font-size: 0.9em;
		width: 184px;
	}
	div.idcard > img.picture {
		margin-right: 10px;
		width: 43px;
		height: 60px;
	}
}
@media screen and (max-width: 1180px) {
	div.idcard > img.picture {
		display: none;
	}
	div.idcard {
		width: 141px;
	}
}
@media screen and (max-width: 1000px) {
	div.idcard > span.age {
		display: none;
	}
	div.idcard > span.lastCheckin {
		display: none;
	}
	div.idcard {
		font-size: 0.8em;
		height: 42px;
		width: 80px;
	}
}
@media screen and (max-width: 550px) {
	div.idcard {
		height: 1.7em;
		width: 50px;
		overflow: hidden;
	}
	div.idcard:hover, div.idcard.dragged {
		overflow: visible;
	}
	div.idcard > span.name {
		-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
	}
	div.idcard:hover > span.name, div.idcard.dragged > span.name {
		-webkit-mask-image: none;
	}

}
input, textarea, select, .shortcut > a, button {
	-webkit-appearance: none;
	border-radius: 6px;
	padding: 8px 16px 8px 16px;
	border-width: 1px;
	font-weight: 400;
	border-color: rgba(0, 0, 0, 0.2);
	border-style: solid;
	font-size: 1.0em;
	font-family: 'Signika Negative', 'Myriad Pro', sans-serif;
	color: #666;
}

select {
	box-shadow: inset 0 4px 32px -16px rgba(64, 64, 64, 1);
	margin:0;
}
span.mealListParent:after{
	display:inline-block;
	height: 38px;
	background-color: red;
	content: 'v';
	color:transparent;
	vertical-align:bottom;
	width: 38px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-width: 1px;
  border-color: rgba(0, 0, 0, 0.2);
  border-style: solid;
  background-color: #F0F0F0;
  box-shadow: inset 0 -4px 16px -6px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: inset 0 -4px 16px -6px rgba(0, 0, 0, 0.5);
  background-image: url('../images/dropDown.png');
  background-repeat: no-repeat;
  background-position: center center;
  position:relative;
  left:-40px;
  pointer-events: none;
}

span.mealListParent:hover:after{
  box-shadow: inset 0 -4px 16px -6px rgba(64, 64, 64, 0.5);
  -webkit-box-shadow: inset 0 -4px 16px -6px rgba(64, 64, 64, 0.5);
  border-color: rgba(0, 0, 0, 0.3);
}

input[type="button"], input[type="submit"], button.ui-button,
.shortcut > a:link, .shortcut > a {
	background-color: #F0F0F0;
	box-shadow: inset 0 -4px 16px -6px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: inset 0 -4px 16px -6px rgba(0, 0, 0, 0.5);
}
input[type="button"]:focus, button.ui-button.ui-state-focus, button.ui-button.ui-state-hover, input[type="submit"]:focus, input[type="button"]:hover, input[type="submit"]:hover, .shortcut > a:focus, .shortcut > a:hover {
	box-shadow: inset 0 -4px 16px -6px rgba(64, 64, 64, 0.5);
	-webkit-box-shadow: inset 0 -4px 16px -6px rgba(64, 64, 64, 0.5);
	border-color: rgba(0, 0, 0, 0.3);
}
input[type="button"]:active, button.ui-button:active, input[type="submit"]:active, .shortcut > a:active {
	box-shadow: inset 0 -4px 16px -6px rgba(255, 255, 255, 1), inset 0 4px 16px -6px rgba(64, 64, 64, 0.5);
	-webkit-box-shadow: inset 0 -4px 16px -6px rgba(255, 255, 255, 1), inset 0 4px 16px -6px rgba(64, 64, 64, 0.5);
	border-color: rgba(0, 0, 0, 0.5);
}
input[type="button"][disabled="disabled"], button.ui-button[disabled="disabled"], input[type="submit"][disabled="disabled"], input[type="button"][disabled="disabled"]:focus, input[type="submit"][disabled="disabled"]:focus, input[type="button"][disabled="disabled"]:active, input[type="submit"][disabled="disabled"]:active, input[type="button"][disabled="disabled"]:hover, input[type="submit"][disabled="disabled"]:hover {
	border-color: rgba(0, 0, 0, 0.2);
	color: #AAA;
	box-shadow: inset 0 -4px 16px -6px rgba(64, 64, 64, 0.5);
	-webkit-box-shadow: inset 0 -4px 16px -6px rgba(64, 64, 64, 0.5);
}
input[type="text"], textarea {
	box-shadow: inset 0 4px 32px -16px rgba(64, 64, 64, 1);
	-webkit-box-shadow: inset 0 4px 32px -16px rgba(64, 64, 64, 1);
}
input[type="text"]:focus, textarea:focus {
	border-color: rgba(0, 0, 0, 0.3);
}
.hiddenFile {
	display: none;
}
div.line {
	margin-bottom: 6px;
}
form.shareStory, form.shareStory > div.line, form.shareStory > div.line > * {
	vertical-align: middle;
}
form.shareStory label {
	display: inline-block;
	width: 72px;
}
form.shareStory textarea, form.shareStory input[type="text"] {
	width: 500px;
	max-width: 500px;
}
form.shareStory textarea{
  resize:vertical;
  height: 100px;
}
form.shareStory input[type="button"]:first-child, form.shareStory input[type="submit"]:first-child {
	margin-left: 76px;
}
form.shareStory > div.line > img.expand {
	position: relative;
	left: -42px;
	top: 1px;
	cursor: pointer;
}
form.shareStory textarea, form.shareStory input[type="text"],
form.shareStory ul.token-input-list-facebook {
  transition-duration: 0.3s;
  transition-property: width;
  -webkit-transition-duration: 0.3s;
  -webkit-transition-property: width;
}
@media screen and (max-width: 890px) {
	form.shareStory textarea, form.shareStory input[type="text"] {
	  width: 450px;
	  max-width: 450px;
	}
	form.shareStory ul.token-input-list-facebook {
	  width: 466px;
	}
}
@media screen and (max-width: 650px) {
  form.shareStory textarea, form.shareStory input[type="text"],
  form.shareStory ul.token-input-list-facebook {
    width: 50%;
    box-sizing: border-box;
  }
}
/* div.addKidsContainer {
	position: absolute;
	z-index: 15;
	width: 475px;
	display: none;
}
div.addKidsContainer > img.expandable {
	position: relative;
	left: -10px;
	top: 10px;
	z-index: 25;
}
div.addKids {
	padding: 16px;
	border: 1px rgb(223, 223, 223) solid;
	background-color: #F0F0F0;
	position: relative;
	top: -41px;
	border-radius: 6px;
}
 */#toast, #error {
	display: block;
	padding: 8px;
	font-weight: normal;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	position: fixed;
	z-index: 50;
	top: 30px;
	left: 50%;
	width: 400px;
	margin-left: -200px;
	box-shadow: 0 0 3px 1px rgba(120, 95, 55, 0.3);
	display: none;
}
#toast {
	border: 1px rgb(240, 190, 110) solid;
	background-color: rgb(250, 240, 190);
}
#error {
	border: 1px rgb(240, 110, 110) solid;
	background-color: rgb(250, 190, 190);
}
/**************************************************/
#frontPage_wrapper {
	position: relative;
	margin: auto;
	width: 85%;
	height: 500px;
	margin-top: 2.5%;
	margin-bottom: 2.5%;
}
.shortcut_wrapper {
	width: 50%;
	height: 50%;
	display: table;
}
div.shortcut {
	text-align: center;
	vertical-align: middle;
	display: table-cell;
	width: auto;
	height: 100%;
}
.shortcut > a > img, .shortcut > img {
	display: block;
	height: 200px;
	width: 200px;
}
.shortcut > a {
	text-align: center;
	margin-bottom: 35px;
	display: inline-block;
	text-decoration: none;
	color: #222;
	font-weight: normal;
	font-size: 1.5em;
}

@media screen and (max-width: 610px) {
	.shortcut > a > img, .shortcut > img {
		width: 100%;
		height: auto;
	}
	.shortcut > a {
		font-size: 1em;
		vertical-align: top;
	}
}

/**Checkinout*/
#checkInOut_containers {
	position: relative;
	width: 100%;
}
#CheckedIn_wrapper, #CheckedOut_wrapper {
	background-color: #FAFAFA;
	border: 4px #EEE dashed;
	height: 500px;
	overflow-y: auto;
	padding: 2px;
}
#CheckedIn_wrapper {
	margin-left: 12px;
	margin-right: 24px;
}
#CheckedOut_wrapper {
	margin-left: 24px;
}
#CheckedIn, #CheckedOut {
	float: left;
}
.hide {
	visibility: hidden;
}
/**daily log*/
#id-wrapper {
	width: 100%;
	text-align: left;
}
div.button-wrapper {
	width: 100%;
	text-align: center;
	margin: 10px;
}
div.d_log {
	width: 100%;
	height: 25px;
}
div.d_log > input {
	padding: 0px;
	vertical-align: middle;
}
div.d_log > label {
	width: 79px;
	display: inline-block;
}
div.d_log-wrapper {
	margin-left: 80px;
}
div.comment {
	width: 100%;
	margin-top: 12px;
}
div.comment > textarea {
	width: 100%;
	resize: none;
	margin: 0;
	box-sizing: border-box;
}
/** report lunch */
.childContainer {
	text-align: left;
}
.addMeal {
	/*  position:relative;  */
	/*  left: 5px;  */
}
#checkbutton {
	width: 30px;
	padding-left: 8px;
}
textarea {
	resize: none;
	width: 200px;
	clear: both;
	margin-top: 10px;
}
div.mealContainer input[type=text] {
	width: 130px;
}
span.plus {
	padding: 1px;
	display: inline-block;
	width: 10px;
}
span.minus {
	padding: 1px;
	text-decoration: none;
	color: #222;
	background-color: #F0F0F0;
	display: inline-block;
	cursor: pointer;
	width: 10px;
	text-align: center;
}
span.minus:hover {
	background-color: #F5F5F5;
}
.r_log {
	text-align: left;
	margin-left: 85px;
	margin-top: 5px;
}
div.idcard > span.name {
	margin-top: 0px;
}
div.slider {
	width: 138px;
	display: inline-block;
}
div.ui-tooltip-slider {
	min-width: 0px;
}
div.ui-slider {
	background: white;
	vertical-align: middle;
}
div.ui-slider-disabled .qtip {
	visibility: hidden;
}
div.ui-tooltip-content {
	font-size: 14px;
	text-align: center;
}
div.mealContainer input[type=text] {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-right: 0;
}
input#checkbutton, input.fillAllButton {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	width: 68px;
	padding-left: 0;
	padding-right: 0;
	text-align: center;
}
select {
	width: 175px;
	height: 40px;
}
div.button-wrapper {
	width: 100%;
	text-align: center;
	margin: 10px;
}
.slider > .tick {
	z-index: 0;
	width: 25%;
	height: 30%;
	margin-top: 70%;
	position: absolute;
	font-size: 1.8em;
	line-height: 1.8em;
	background: none;
	border-top: none;
	border-right: none;
	border-bottom: none;
	text-align: center;
}
.mealListParent {
	border-radius: 6px;
	height: 40px;
	display:inline-block;
	padding: 0;
}
.mealListParent select {
  box-shadow: inset 0 4px 32px -16px rgba(64, 64, 64, 1), 0 0 0 -2px transparent;
  transition: box-shadow .5s linear .1s;
  -webkit-transition: box-shadow .25s linear .1s;
}
.mealListParent.added select{
	box-shadow: inset 0 4px 32px -16px rgba(64, 64, 64, 1), 0 0 13px -1px yellow;
}
.mealListParent.removed select{
	box-shadow: inset 0 4px 32px -16px rgba(64, 64, 64, 1), 0 0 13px -1px red;
}
.mealListParent.changed select{
	box-shadow: inset 0 4px 32px -16px rgba(64, 64, 64, 1), 0 0 13px -1px green;
}
#addedPhotoContainer {
	position: relative;
	display: inline-block;
}
#addedPhoto {
	max-width: 300px;
	border: solid;
	border-width: 1px;
	border-color: #AAA;
	border-radius: 6px;
}

#removeX {
	position: absolute;
	top: 12px;
	right: 12px;
	cursor: pointer;
}
.ui-multiselect-menu input[type=checkbox], .ui-widget input[type=checkbox] {
	-webkit-appearance: checkbox;
}
.idcard.selected {
	background-color: #ffe45c;
}
.idcard.selected:hover {
	background-color: #fff1a9;
}

div.ui-dialog button.ui-button,
div.ui-dialog button.ui-button:hover {
	background-color: #F0F0F0;
	font-weight: 400;
}
div.ui-dialog button.ui-button span{
	color: #666;
}
div.ui-dialog, div.ui-dialog button.ui-button {
	 font-family: 'Signika Negative', 'Myriad Pro', sans-serif;
}
div.ui-dialog .ui-dialog-title{
	font-weight:600;
	font-size:1.1em;
}